﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace VisionEstereo
{
	/// <summary>
	/// Interaction logic for Progreso.xaml
	/// </summary>
	public partial class Progreso : Window
	{
		public Progreso()
		{
			this.InitializeComponent();
		}
		
		// Propiedades
		public string TextoProgreso
		{
			set
			{
				this.labelProgreso.Content = value;
			}
		}
		
		
		public event EventHandler Cancel = delegate { };

		private void btnCancelar_Click(object sender, System.Windows.RoutedEventArgs e)
		{
			Cancel(sender, e);
		}

		private void Window_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            //this.imagenCargando.Image = System.Drawing.Image.FromFile("Cargando.gif");
		}
	}
}